<?php

class LogoutAction extends Action
{
    private $_description = array('-1'=>'注销失败', '1'=>'注销成功');
    
    
	public function _onLogout(){
		Director::Instance( '', 'Session', 'Delete', 'None' ) ;
		Director::Instance( '', 'Cookie', 'Delete', 'None' ) ;
		$_rdata = array('status' => 1, 'msg'=>$this->_description[1]);
		return $_rdata;
	}
	
	
}
?>